package work1;

public class Complex {
	private double real;
	private double imagl;
	
	public Complex(double r,double i) {
		this.real=r;
		this.imagl=i;
	}
	
	public String toString() {
		return this.real+"+"+this.imagl+"i";
	}

}
